package sealte.mynode.servlet.impl;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import sealte.mynode.servlet.system.SystemGetServlet;

public class TestServlet extends SystemGetServlet {

	private static final long serialVersionUID = 4681391398399720901L;

	@Override
	protected void doBusinessService(HttpServletRequest req,
			HttpServletResponse resp) {
		PrintWriter out = null;
		try {
			out = resp.getWriter();
			out.write("<h1>Hello World!</h1>");
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			if(null!=out){
				out.close();
			}
		}
		
	}
	
	
}
